]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix single-actor widgets
authorDan Winship <danw@gnome.org>
Tue, 7 Jul 2009 17:21:05 +0000 (13:21 -0400)
committerDan Winship <danw@gnome.org>
Thu, 25 Feb 2010 19:42:58 +0000 (14:42 -0500)
clutter_actor_unparent() is for use by container implementations only,
unlike gtk_widget_unparent()

https://bugzilla.gnome.org/show_bug.cgi?id=588090

js/ui/widgetBox.js

index 0c413e92446537695d1d65c4934d31c1fd6e62e6..10cb362b4a4c8ffa0f299931d2aee09beefc6bbd 100644 (file)
@@ -196,7 +196,7 @@ WidgetBox.prototype = {
         this._egroup.show();
 
         if (this._singleActor) {
-            this._widget.actor.unparent();
+            this._widget.actor.get_parent().remove_actor(this._widget.actor);
             this._ebox.append(this._widget.actor, Big.BoxPackFlags.NONE);
         }
 
@@ -244,7 +244,7 @@ WidgetBox.prototype = {
         this._cgroup.show();
 
         if (this._singleActor) {
-            this._widget.actor.unparent();
+            this._widget.actor.get_parent().remove_actor(this._widget.actor);
             this._cbox.append(this._widget.actor, Big.BoxPackFlags.NONE);
         }